package cn.itsource.shop.domain;

import cn.itsource.basic.domain.BaseDomain;
import cn.itsource.org.domain.Employee;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_shop")
public class Shop extends BaseDomain {

    //店铺名称
    private String name;
    //电话
    private String tel;
    //入驻时间
    private Date registerTime = new Date();
    //状态 1:待审核 2.已审核待激活 3.激活成功 4.驳回
    private Integer state = 1;
    //店铺地址
    private String address;
    //招牌图片
    private String logo;
    //管理员id
    private Long adminId;

    //管理员对象
    private Employee admin;
}
